<? include ("../init.php") ?>
<?
  $collection = $_POST['collection'];
  $name = $_POST['name'];
  $slogan = $_POST['slogan'];
  $detail = $_POST['detail'];
  $active = $_POST['active'];
  
  $sql = "INSERT INTO hs_collection(pc_group,pc_name,pc_active,pc_slogan,pc_detail) VALUES('$collection','$name','$active','$slogan','$detail')";
  $db->execute($sql);
  
  header("Location:collection.php");
?>